Latest Questions

Problem viewing a pdf file in a shiny app

To view a pdf file and my shiny app, I use the following code on the server side, which everyone recommends: output$pdf_info_exper <- renderUI({ se

Pdfium stretches or squashes document on printing

I'm using PdfiumViewer in one of my C# applications. This is the part of the code which I'm using for printing: public documentCopies = 2; // here for example's

I'm getting an error using playwright nth-match

I just discovered playwright and I'm trying to see if it would be better to use than selenium. One issue I have is that none of the items in the application I

trying to give role for voter top.gg

i'm trying to give top.gg voters role in my server but there's so many thing happened got me confused and i can't find any solution for it. full source code : h

Mongoose Schema for Groups (a number of users in one group)

One aspect of my website is that people can join groups according to a specific code provided to them, for example- when we play 'Kahoot' or 'Psych', we have to

window.postmessage() data is not recieved instantly rather than i have put a setTimeout function to pass the data

I am using window.postmessage() to send the data across domains to a popup but, postmessage is not sending the data instantly i.e. when captured on other domain

Interface "Composer\Plugin\PluginInterface" not found

I am writing composer package and in my plugin code I am trying to get Composer\Plugin\PluginInterface but I'm receiving Interface "Composer\Plugin\PluginInterf

React setState componentDidUpdate React limits the number of .. when trying to update the state based on updated state

i have react program that need the data from other components. When the parent components send path data, an array will get all of the files name inside folder,

Reading incremental results from stored procedure

I am working on a stored procedure that will perform time consuming query (> 30 seconds) inside the engine (arrays, temp tables, ...). The stored procedure r

SwiftUI Preview crash with await async iOS15 if returns a struct with UUID

I reduced to very simple code. If the struct has a Int is working, if there is an UUID the preview is crashing (it's working if I run on the simulator or real

error: incompatible types: ImageActivity cannot be converted to Context

I'm getting this incompatible type error for my code. The error shows in ImageActivity class. The error is in line: imageAdapter = new ImageAdapter(ImageActivit

Why React Component render many time when get event from socket.io?

I am using socket.io for my project social network web, when user connect I join, but when I get message from socket.io by group chat, My component render messa

Can't able to save and display camera images in gridView in flutter using image_picker

I am creating a widget in which I want to display a gridview of image clicked through mobile camera at runtime. I had used image_picker package from flutter. Bu

Using Vue Test Utils, how can I check if a button is disabled?

I'm testing a Vue component but I'm having trouble testing a button's disabled state. How can I access a button's disabled status in my tests? I've tried using

How to change linerenderer color at runtime?

The default color now is mixed of colors with the default material : I want that at runtime or before running the game if i set the mode to None set the whole

Character is not able to move by using (A , S , D) in unity

Today I watched an video on how to make movement in youtube (https://www.youtube.com/watch?v=bzheMJQVtBI) but the movement occur only when I press W key or chan

Docker .NET Framework is triggering error Access to the path 'C:\RoslynCompilers-3.6.0\tools\csc.exe' is denied

I am trying to run a simple ASP.NET application in a Docker Container. Unfortunately, this application is a .NET Framework (not .NET Core), and because of that,

Opencv 4.5.4 YoloV5

I export the Yolov5 .pt model to onnx with the command-line command python3 export.py --weights best.pt --include onnx --simplify I am able to read the yolov5.o

@Autowire returns null after adding Spring AOP in an abstract base class

I'm using POM in my selenium automation project, so there is an abstract class BasePage extended by a DerivedPage which is used for test method The method which

Why `supportFragmentManager.backStackEntryCount` is empty after `add()` fragment to stack

In Android app (Kotlin) I have Activity with container what have fragment A in it. On user interaction, I am adding fragment B to container by: supportFragmentM

How to get a list of wi-fi networks

Good afternoon. For a very long time I have been trying to get a list of wi-fi networks using WifiManager. When I try to get through a virtual device, I get onl

Django get_next_by_date conditions not rendering properly in template

I have a model named "Manga". In this model I have manytomanyfield object called chapters with this model. class Chapter(models.Model): chapter=models.Integ

What does sx={{'& > :not(style)': {m1}}} do in MUI 5?

I see them use this on their TextField page for having TextFields align correctly as the page gets smaller. What exactly does this css do? sx={{'& > :not

Looping through a map in helm

I am new to yaml and helm templating and have a question in it. I have the following in my values.yaml file regionInfo: usa: DrRegions: uk region

Azure DevOps Pipeline - condition expression with pipeline variable

I need to make my stages in DevOps YAML pipeline dependent or not based on pipeline variable (not variable defined in the YAML). I tried something like this: -

Error CS0246 The type or namespace name 'Androidx' could not be found (are you missing a using directive or an assembly reference?)

I am migrating Xamarin.Android application from Andorid 9 to Android 10. I have updated all the support packages to Andoridx packages. In .axml files after chan

Get all NFTs of an Account on Flow Blockchain

Can I get a list of all NFTs to an account on the Flow Blockchain? There is account storage and the documentation says ...Cadence represents each NFT as a reso

Handling multiple experimental annotations throughout an app

I have an app that makes heavy use of experimental features for Jetpack Compose so I have to declare a bunch of annotations on the composables. Since these anno

How to avoid duplicate JS code that each uses its own this? [duplicate]

I have several different classes with the same duplicate code. Aside from the different identity of each's this, these duplicate code are all

Windows Server 2022, IIS 10, and SSL - Website is not loading

When my website is installed on Windows server 2016 and 2019 it works perfectly. On Windows Sever 2022 I get an error of "This site can’t be reached The c